//
//  SHGHomeViewController.swift
//  -微博准备
//
//  Created by 孙护国 on 16/4/7.
//  Copyright © 2016年 孙护国. All rights reserved.
//

import UIKit

class SHGHomeViewController: UITableViewController {
    var userLoad=false
    
    override func loadView() {
   
        userLoad ? super.loadView() : prepareVisiterView()
        
        
    }
    private func prepareVisiterView(){
      let v=SHGHomeVisitorView()
        view=v
    }
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
